<?php
// config 
include ("config.php");

//page def
//the page title
$title = "Recipe";

// dB connection
//include ("./db.php");

//adds the header
include ("$install_dir/include/head.php");

//start page
?>
<body>
<center>
<table class="main_table">
<tr>
<th colspan="2" class="logo"><img src="<?php echo $install_url;?>/images/logo.png" alt="My Personal Cookbook" align="left" /></th>
</tr>
<tr>
<td class="menu">
<?php
//adds menu
include ("$install_dir/include/menu.php");

?>
</td>
<td class="page">
<div class = "title">
<?php 
echo $title;
if ($rec_id == NULL) {echo "'s";} 
?>
</div>
<div class = "post_text">
<?php /* content */ 
// includes recipe base
include ("$install_dir/include/recipe_base.php");

?>
</div>
</td>
</tr>
<tr>
<td colspan="2" class="foot">
<?php
//adds footer
include ("$install_dir/include/footer.php");

?>
</td>
</tr>
</table>
</center>
</body>
</html>
